package com.qidianit.mes.pro.service;

import com.github.pagehelper.PageInfo;
import com.qidianit.mes.pojo.pro.ProcessStep;
import org.apache.ibatis.annotations.Param;
import org.springframework.transaction.annotation.Transactional;

import java.util.ArrayList;

/**
 * @Description:
 * @Author: shanzhe
 * @Date: 2025/9/17 - 16:24
 */
@Transactional
public interface ProcessStepService {

    PageInfo<ProcessStep> queryPagedProcessStepsByProcessCode(Integer processId,
                                                 Integer pageNum,
                                                 Integer size);
    ProcessStep queryProcessStepById(Integer id);

    int addProcessStep(ProcessStep processStep);

    int updateProcessStep(ProcessStep processStep);

    int deleteProcessStepById(Integer id);
}
